package com.auoem.radio.base;

/**
 * 系统配置，请将以下常量配置为你定制的系统的配置
 */
public class AuConstants {

    /*A6所在串口路径*/
    public static final String AM_PATH_DEV = "/dev/ttyS1";

    /*A6电源开关*/
    //public static final String AM_PATH_POWER_EN = "/sys/dy_control/dmr_vbat_en";
    public static final String AM_PATH_POWER_EN = "/sys/class/misc/aw9523/dmren";

    /*A6上电开关*/
    //public static final String AM_PATH_POWER_CS = "/sys/dy_control/dmr_on_cs";
    public static final String AM_PATH_POWER_CS = "/sys/class/misc/aw9523/dmrcs";

    /*系统mic卡关，1-mic打开，0-mic结束，系统可以根据该值切换或打开mic*/
    //public static final String AM_PATH_POWER_MIC = "/sys/dy_control/dmr_mic_sw";
    public static final String AM_PATH_POWER_MIC = "/sys/class/misc/aw9523/micsw";

    /*发送信号，1-正在发送 0-空闲 */
    //public static final String AM_PATH_POWER_TX = "/sys/dy_control/dmr_tx";
    public static final String AM_PATH_POWER_TX = "/sys/class/misc/aw9523/dmrtx";
    /*ptt */
    //public static final String AM_PATH_PTT = "/sys/devices/platform/gpio_utils/dmr_cs";
    public static final String AM_PATH_PTT = "/sys/class/misc/aw9523/pttcs";

    /*PTT按键按下广播*/
    public final static String ACTION_PTT_DOWN = "android.intent.action.hl.ptt.down";

    /*PTT按键松开广播*/
    public final static String ACTION_PTT_UP = "android.intent.action.hl.ptt.up";



}
